package com.moon.interview;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication(exclude = RedisAutoConfiguration.class)
@MapperScan("com.moon.interview.mapper")  // 扫描mapper接口
@ServletComponentScan  // 扫描@Component注解的类
public class InterviewPassApplication {

    public static void main(String[] args) {
        SpringApplication.run(InterviewPassApplication.class, args);
    }

}
